package cn.iocoder.yudao.module.english.controller.admin.course.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 课程新增/修改 Request VO")
@Data
public class CourseSaveReqVO {

    @Schema(description = "ID主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "17834")
    private Long id;

    @Schema(description = "课程名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "课程名称不能为空")
    private String courseName;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "备注", example = "你猜")
    private String remark;

}